package com.twu.biblioteca.domain;

public class Book {
    private String name;
    private String id;
    private boolean isBooked;


    public Book(String name,String id) {
        this.name =  name;
        this.id = id;
        isBooked = false;
    }


    public String getName() {
        return name;
    }

    public String getId() {
        return id;
    }

    public void setIsBooked(boolean booked) {
        isBooked = booked;
    }

    public boolean getIsBooked() {
        return isBooked;
    }
}
